package com.fastloan.jn.utils.model;

import java.time.LocalDateTime;

/**
 * 日期区间
 *
 * @author yanwe
 *         createTime 2017-04-2017/4/6 10:27
 */
public class BetweenDate {

    private LocalDateTime beginDate;

    private LocalDateTime endDate;

    public BetweenDate(LocalDateTime beginDate, LocalDateTime endDate) {
        this.beginDate = beginDate;
        this.endDate = endDate;
    }

    public BetweenDate() {
    }

    public LocalDateTime getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(LocalDateTime beginDate) {
        this.beginDate = beginDate;
    }

    public LocalDateTime getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDateTime endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "BetweenDate{" +
                "beginDate=" + beginDate +
                ", endDate=" + endDate +
                '}';
    }
}
